#include "syscfg.h"
#include "stm32f4xx.h"

void syscfg_init()
{
	RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG,ENABLE);
	SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOI,EXTI_PinSource5);	
}




























void syscfg_init1()
{
	
	RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG,ENABLE);
	SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOD,EXTI_PinSource6);	

}























/*int main()
{
	
	beep_init();
	key_init();
	led_init();
	exti_init();
	syscfg_init();
	nvic_init();
	
	while(1)
	{
		
		
	}
	return 0;
}

*/
